↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
ss_in_ag(Xs, Ys) → U1_ag(Xs, Ys, perm_in_ag(Xs, Ys))
perm_in_ag([], []) → perm_out_ag([], [])
perm_in_ag(Xs, .(X, Ys)) → U3_ag(Xs, X, Ys, app_in_aaa(X1s, .(X, X2s), Xs))
app_in_aaa([], X, X) → app_out_aaa([], X, X)
app_in_aaa(.(X, Xs), Ys, .(X, Zs)) → U6_aaa(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
U6_aaa(X, Xs, Ys, Zs, app_out_aaa(Xs, Ys, Zs)) → app_out_aaa(.(X, Xs), Ys, .(X, Zs))
U3_ag(Xs, X, Ys, app_out_aaa(X1s, .(X, X2s), Xs)) → U4_ag(Xs, X, Ys, app_in_aaa(X1s, X2s, Zs))
U4_ag(Xs, X, Ys, app_out_aaa(X1s, X2s, Zs)) → U5_ag(Xs, X, Ys, perm_in_ag(Zs, Ys))
U5_ag(Xs, X, Ys, perm_out_ag(Zs, Ys)) → perm_out_ag(Xs, .(X, Ys))
U1_ag(Xs, Ys, perm_out_ag(Xs, Ys)) → U2_ag(Xs, Ys, ordered_in_g(Ys))
ordered_in_g([]) → ordered_out_g([])
ordered_in_g(.(X, [])) → ordered_out_g(.(X, []))
ordered_in_g(.(X, .(Y, Xs))) → U7_g(X, Y, Xs, less_in_gg(X, s(Y)))
less_in_gg(0, s(X)) → less_out_gg(0, s(X))
less_in_gg(s(X), s(Y)) → U9_gg(X, Y, less_in_gg(X, Y))
U9_gg(X, Y, less_out_gg(X, Y)) → less_out_gg(s(X), s(Y))
U7_g(X, Y, Xs, less_out_gg(X, s(Y))) → U8_g(X, Y, Xs, ordered_in_g(.(Y, Xs)))
U8_g(X, Y, Xs, ordered_out_g(.(Y, Xs))) → ordered_out_g(.(X, .(Y, Xs)))
U2_ag(Xs, Ys, ordered_out_g(Ys)) → ss_out_ag(Xs, Ys)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PrologToPiTRSProof
ss_in_ag(Xs, Ys) → U1_ag(Xs, Ys, perm_in_ag(Xs, Ys))
perm_in_ag([], []) → perm_out_ag([], [])
perm_in_ag(Xs, .(X, Ys)) → U3_ag(Xs, X, Ys, app_in_aaa(X1s, .(X, X2s), Xs))
app_in_aaa([], X, X) → app_out_aaa([], X, X)
app_in_aaa(.(X, Xs), Ys, .(X, Zs)) → U6_aaa(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
U6_aaa(X, Xs, Ys, Zs, app_out_aaa(Xs, Ys, Zs)) → app_out_aaa(.(X, Xs), Ys, .(X, Zs))
U3_ag(Xs, X, Ys, app_out_aaa(X1s, .(X, X2s), Xs)) → U4_ag(Xs, X, Ys, app_in_aaa(X1s, X2s, Zs))
U4_ag(Xs, X, Ys, app_out_aaa(X1s, X2s, Zs)) → U5_ag(Xs, X, Ys, perm_in_ag(Zs, Ys))
U5_ag(Xs, X, Ys, perm_out_ag(Zs, Ys)) → perm_out_ag(Xs, .(X, Ys))
U1_ag(Xs, Ys, perm_out_ag(Xs, Ys)) → U2_ag(Xs, Ys, ordered_in_g(Ys))
ordered_in_g([]) → ordered_out_g([])
ordered_in_g(.(X, [])) → ordered_out_g(.(X, []))
ordered_in_g(.(X, .(Y, Xs))) → U7_g(X, Y, Xs, less_in_gg(X, s(Y)))
less_in_gg(0, s(X)) → less_out_gg(0, s(X))
less_in_gg(s(X), s(Y)) → U9_gg(X, Y, less_in_gg(X, Y))
U9_gg(X, Y, less_out_gg(X, Y)) → less_out_gg(s(X), s(Y))
U7_g(X, Y, Xs, less_out_gg(X, s(Y))) → U8_g(X, Y, Xs, ordered_in_g(.(Y, Xs)))
U8_g(X, Y, Xs, ordered_out_g(.(Y, Xs))) → ordered_out_g(.(X, .(Y, Xs)))
U2_ag(Xs, Ys, ordered_out_g(Ys)) → ss_out_ag(Xs, Ys)
SS_IN_AG(Xs, Ys) → U1_AG(Xs, Ys, perm_in_ag(Xs, Ys))
SS_IN_AG(Xs, Ys) → PERM_IN_AG(Xs, Ys)
PERM_IN_AG(Xs, .(X, Ys)) → U3_AG(Xs, X, Ys, app_in_aaa(X1s, .(X, X2s), Xs))
PERM_IN_AG(Xs, .(X, Ys)) → APP_IN_AAA(X1s, .(X, X2s), Xs)
APP_IN_AAA(.(X, Xs), Ys, .(X, Zs)) → U6_AAA(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
APP_IN_AAA(.(X, Xs), Ys, .(X, Zs)) → APP_IN_AAA(Xs, Ys, Zs)
U3_AG(Xs, X, Ys, app_out_aaa(X1s, .(X, X2s), Xs)) → U4_AG(Xs, X, Ys, app_in_aaa(X1s, X2s, Zs))
U3_AG(Xs, X, Ys, app_out_aaa(X1s, .(X, X2s), Xs)) → APP_IN_AAA(X1s, X2s, Zs)
U4_AG(Xs, X, Ys, app_out_aaa(X1s, X2s, Zs)) → U5_AG(Xs, X, Ys, perm_in_ag(Zs, Ys))
U4_AG(Xs, X, Ys, app_out_aaa(X1s, X2s, Zs)) → PERM_IN_AG(Zs, Ys)
U1_AG(Xs, Ys, perm_out_ag(Xs, Ys)) → U2_AG(Xs, Ys, ordered_in_g(Ys))
U1_AG(Xs, Ys, perm_out_ag(Xs, Ys)) → ORDERED_IN_G(Ys)
ORDERED_IN_G(.(X, .(Y, Xs))) → U7_G(X, Y, Xs, less_in_gg(X, s(Y)))
ORDERED_IN_G(.(X, .(Y, Xs))) → LESS_IN_GG(X, s(Y))
LESS_IN_GG(s(X), s(Y)) → U9_GG(X, Y, less_in_gg(X, Y))
LESS_IN_GG(s(X), s(Y)) → LESS_IN_GG(X, Y)
U7_G(X, Y, Xs, less_out_gg(X, s(Y))) → U8_G(X, Y, Xs, ordered_in_g(.(Y, Xs)))
U7_G(X, Y, Xs, less_out_gg(X, s(Y))) → ORDERED_IN_G(.(Y, Xs))
ss_in_ag(Xs, Ys) → U1_ag(Xs, Ys, perm_in_ag(Xs, Ys))
perm_in_ag([], []) → perm_out_ag([], [])
perm_in_ag(Xs, .(X, Ys)) → U3_ag(Xs, X, Ys, app_in_aaa(X1s, .(X, X2s), Xs))
app_in_aaa([], X, X) → app_out_aaa([], X, X)
app_in_aaa(.(X, Xs), Ys, .(X, Zs)) → U6_aaa(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
U6_aaa(X, Xs, Ys, Zs, app_out_aaa(Xs, Ys, Zs)) → app_out_aaa(.(X, Xs), Ys, .(X, Zs))
U3_ag(Xs, X, Ys, app_out_aaa(X1s, .(X, X2s), Xs)) → U4_ag(Xs, X, Ys, app_in_aaa(X1s, X2s, Zs))
U4_ag(Xs, X, Ys, app_out_aaa(X1s, X2s, Zs)) → U5_ag(Xs, X, Ys, perm_in_ag(Zs, Ys))
U5_ag(Xs, X, Ys, perm_out_ag(Zs, Ys)) → perm_out_ag(Xs, .(X, Ys))
U1_ag(Xs, Ys, perm_out_ag(Xs, Ys)) → U2_ag(Xs, Ys, ordered_in_g(Ys))
ordered_in_g([]) → ordered_out_g([])
ordered_in_g(.(X, [])) → ordered_out_g(.(X, []))
ordered_in_g(.(X, .(Y, Xs))) → U7_g(X, Y, Xs, less_in_gg(X, s(Y)))
less_in_gg(0, s(X)) → less_out_gg(0, s(X))
less_in_gg(s(X), s(Y)) → U9_gg(X, Y, less_in_gg(X, Y))
U9_gg(X, Y, less_out_gg(X, Y)) → less_out_gg(s(X), s(Y))
U7_g(X, Y, Xs, less_out_gg(X, s(Y))) → U8_g(X, Y, Xs, ordered_in_g(.(Y, Xs)))
U8_g(X, Y, Xs, ordered_out_g(.(Y, Xs))) → ordered_out_g(.(X, .(Y, Xs)))
U2_ag(Xs, Ys, ordered_out_g(Ys)) → ss_out_ag(Xs, Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PrologToPiTRSProof
SS_IN_AG(Xs, Ys) → U1_AG(Xs, Ys, perm_in_ag(Xs, Ys))
SS_IN_AG(Xs, Ys) → PERM_IN_AG(Xs, Ys)
PERM_IN_AG(Xs, .(X, Ys)) → U3_AG(Xs, X, Ys, app_in_aaa(X1s, .(X, X2s), Xs))
PERM_IN_AG(Xs, .(X, Ys)) → APP_IN_AAA(X1s, .(X, X2s), Xs)
APP_IN_AAA(.(X, Xs), Ys, .(X, Zs)) → U6_AAA(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
APP_IN_AAA(.(X, Xs), Ys, .(X, Zs)) → APP_IN_AAA(Xs, Ys, Zs)
U3_AG(Xs, X, Ys, app_out_aaa(X1s, .(X, X2s), Xs)) → U4_AG(Xs, X, Ys, app_in_aaa(X1s, X2s, Zs))
U3_AG(Xs, X, Ys, app_out_aaa(X1s, .(X, X2s), Xs)) → APP_IN_AAA(X1s, X2s, Zs)
U4_AG(Xs, X, Ys, app_out_aaa(X1s, X2s, Zs)) → U5_AG(Xs, X, Ys, perm_in_ag(Zs, Ys))
U4_AG(Xs, X, Ys, app_out_aaa(X1s, X2s, Zs)) → PERM_IN_AG(Zs, Ys)
U1_AG(Xs, Ys, perm_out_ag(Xs, Ys)) → U2_AG(Xs, Ys, ordered_in_g(Ys))
U1_AG(Xs, Ys, perm_out_ag(Xs, Ys)) → ORDERED_IN_G(Ys)
ORDERED_IN_G(.(X, .(Y, Xs))) → U7_G(X, Y, Xs, less_in_gg(X, s(Y)))
ORDERED_IN_G(.(X, .(Y, Xs))) → LESS_IN_GG(X, s(Y))
LESS_IN_GG(s(X), s(Y)) → U9_GG(X, Y, less_in_gg(X, Y))
LESS_IN_GG(s(X), s(Y)) → LESS_IN_GG(X, Y)
U7_G(X, Y, Xs, less_out_gg(X, s(Y))) → U8_G(X, Y, Xs, ordered_in_g(.(Y, Xs)))
U7_G(X, Y, Xs, less_out_gg(X, s(Y))) → ORDERED_IN_G(.(Y, Xs))
ss_in_ag(Xs, Ys) → U1_ag(Xs, Ys, perm_in_ag(Xs, Ys))
perm_in_ag([], []) → perm_out_ag([], [])
perm_in_ag(Xs, .(X, Ys)) → U3_ag(Xs, X, Ys, app_in_aaa(X1s, .(X, X2s), Xs))
app_in_aaa([], X, X) → app_out_aaa([], X, X)
app_in_aaa(.(X, Xs), Ys, .(X, Zs)) → U6_aaa(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
U6_aaa(X, Xs, Ys, Zs, app_out_aaa(Xs, Ys, Zs)) → app_out_aaa(.(X, Xs), Ys, .(X, Zs))
U3_ag(Xs, X, Ys, app_out_aaa(X1s, .(X, X2s), Xs)) → U4_ag(Xs, X, Ys, app_in_aaa(X1s, X2s, Zs))
U4_ag(Xs, X, Ys, app_out_aaa(X1s, X2s, Zs)) → U5_ag(Xs, X, Ys, perm_in_ag(Zs, Ys))
U5_ag(Xs, X, Ys, perm_out_ag(Zs, Ys)) → perm_out_ag(Xs, .(X, Ys))
U1_ag(Xs, Ys, perm_out_ag(Xs, Ys)) → U2_ag(Xs, Ys, ordered_in_g(Ys))
ordered_in_g([]) → ordered_out_g([])
ordered_in_g(.(X, [])) → ordered_out_g(.(X, []))
ordered_in_g(.(X, .(Y, Xs))) → U7_g(X, Y, Xs, less_in_gg(X, s(Y)))
less_in_gg(0, s(X)) → less_out_gg(0, s(X))
less_in_gg(s(X), s(Y)) → U9_gg(X, Y, less_in_gg(X, Y))
U9_gg(X, Y, less_out_gg(X, Y)) → less_out_gg(s(X), s(Y))
U7_g(X, Y, Xs, less_out_gg(X, s(Y))) → U8_g(X, Y, Xs, ordered_in_g(.(Y, Xs)))
U8_g(X, Y, Xs, ordered_out_g(.(Y, Xs))) → ordered_out_g(.(X, .(Y, Xs)))
U2_ag(Xs, Ys, ordered_out_g(Ys)) → ss_out_ag(Xs, Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
LESS_IN_GG(s(X), s(Y)) → LESS_IN_GG(X, Y)
ss_in_ag(Xs, Ys) → U1_ag(Xs, Ys, perm_in_ag(Xs, Ys))
perm_in_ag([], []) → perm_out_ag([], [])
perm_in_ag(Xs, .(X, Ys)) → U3_ag(Xs, X, Ys, app_in_aaa(X1s, .(X, X2s), Xs))
app_in_aaa([], X, X) → app_out_aaa([], X, X)
app_in_aaa(.(X, Xs), Ys, .(X, Zs)) → U6_aaa(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
U6_aaa(X, Xs, Ys, Zs, app_out_aaa(Xs, Ys, Zs)) → app_out_aaa(.(X, Xs), Ys, .(X, Zs))
U3_ag(Xs, X, Ys, app_out_aaa(X1s, .(X, X2s), Xs)) → U4_ag(Xs, X, Ys, app_in_aaa(X1s, X2s, Zs))
U4_ag(Xs, X, Ys, app_out_aaa(X1s, X2s, Zs)) → U5_ag(Xs, X, Ys, perm_in_ag(Zs, Ys))
U5_ag(Xs, X, Ys, perm_out_ag(Zs, Ys)) → perm_out_ag(Xs, .(X, Ys))
U1_ag(Xs, Ys, perm_out_ag(Xs, Ys)) → U2_ag(Xs, Ys, ordered_in_g(Ys))
ordered_in_g([]) → ordered_out_g([])
ordered_in_g(.(X, [])) → ordered_out_g(.(X, []))
ordered_in_g(.(X, .(Y, Xs))) → U7_g(X, Y, Xs, less_in_gg(X, s(Y)))
less_in_gg(0, s(X)) → less_out_gg(0, s(X))
less_in_gg(s(X), s(Y)) → U9_gg(X, Y, less_in_gg(X, Y))
U9_gg(X, Y, less_out_gg(X, Y)) → less_out_gg(s(X), s(Y))
U7_g(X, Y, Xs, less_out_gg(X, s(Y))) → U8_g(X, Y, Xs, ordered_in_g(.(Y, Xs)))
U8_g(X, Y, Xs, ordered_out_g(.(Y, Xs))) → ordered_out_g(.(X, .(Y, Xs)))
U2_ag(Xs, Ys, ordered_out_g(Ys)) → ss_out_ag(Xs, Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
LESS_IN_GG(s(X), s(Y)) → LESS_IN_GG(X, Y)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
LESS_IN_GG(s(X), s(Y)) → LESS_IN_GG(X, Y)
From the DPs we obtained the following set of size-change graphs:
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
ORDERED_IN_G(.(X, .(Y, Xs))) → U7_G(X, Y, Xs, less_in_gg(X, s(Y)))
U7_G(X, Y, Xs, less_out_gg(X, s(Y))) → ORDERED_IN_G(.(Y, Xs))
ss_in_ag(Xs, Ys) → U1_ag(Xs, Ys, perm_in_ag(Xs, Ys))
perm_in_ag([], []) → perm_out_ag([], [])
perm_in_ag(Xs, .(X, Ys)) → U3_ag(Xs, X, Ys, app_in_aaa(X1s, .(X, X2s), Xs))
app_in_aaa([], X, X) → app_out_aaa([], X, X)
app_in_aaa(.(X, Xs), Ys, .(X, Zs)) → U6_aaa(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
U6_aaa(X, Xs, Ys, Zs, app_out_aaa(Xs, Ys, Zs)) → app_out_aaa(.(X, Xs), Ys, .(X, Zs))
U3_ag(Xs, X, Ys, app_out_aaa(X1s, .(X, X2s), Xs)) → U4_ag(Xs, X, Ys, app_in_aaa(X1s, X2s, Zs))
U4_ag(Xs, X, Ys, app_out_aaa(X1s, X2s, Zs)) → U5_ag(Xs, X, Ys, perm_in_ag(Zs, Ys))
U5_ag(Xs, X, Ys, perm_out_ag(Zs, Ys)) → perm_out_ag(Xs, .(X, Ys))
U1_ag(Xs, Ys, perm_out_ag(Xs, Ys)) → U2_ag(Xs, Ys, ordered_in_g(Ys))
ordered_in_g([]) → ordered_out_g([])
ordered_in_g(.(X, [])) → ordered_out_g(.(X, []))
ordered_in_g(.(X, .(Y, Xs))) → U7_g(X, Y, Xs, less_in_gg(X, s(Y)))
less_in_gg(0, s(X)) → less_out_gg(0, s(X))
less_in_gg(s(X), s(Y)) → U9_gg(X, Y, less_in_gg(X, Y))
U9_gg(X, Y, less_out_gg(X, Y)) → less_out_gg(s(X), s(Y))
U7_g(X, Y, Xs, less_out_gg(X, s(Y))) → U8_g(X, Y, Xs, ordered_in_g(.(Y, Xs)))
U8_g(X, Y, Xs, ordered_out_g(.(Y, Xs))) → ordered_out_g(.(X, .(Y, Xs)))
U2_ag(Xs, Ys, ordered_out_g(Ys)) → ss_out_ag(Xs, Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
ORDERED_IN_G(.(X, .(Y, Xs))) → U7_G(X, Y, Xs, less_in_gg(X, s(Y)))
U7_G(X, Y, Xs, less_out_gg(X, s(Y))) → ORDERED_IN_G(.(Y, Xs))
less_in_gg(0, s(X)) → less_out_gg(0, s(X))
less_in_gg(s(X), s(Y)) → U9_gg(X, Y, less_in_gg(X, Y))
U9_gg(X, Y, less_out_gg(X, Y)) → less_out_gg(s(X), s(Y))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ UsableRulesReductionPairsProof
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
ORDERED_IN_G(.(X, .(Y, Xs))) → U7_G(Y, Xs, less_in_gg(X, s(Y)))
U7_G(Y, Xs, less_out_gg) → ORDERED_IN_G(.(Y, Xs))
less_in_gg(0, s(X)) → less_out_gg
less_in_gg(s(X), s(Y)) → U9_gg(less_in_gg(X, Y))
U9_gg(less_out_gg) → less_out_gg
less_in_gg(x0, x1)
U9_gg(x0)
The following rules are removed from R:
U7_G(Y, Xs, less_out_gg) → ORDERED_IN_G(.(Y, Xs))
Used ordering: POLO with Polynomial interpretation [25]:
less_in_gg(0, s(X)) → less_out_gg
POL(.(x1, x2)) = 2·x1 + 2·x2
POL(0) = 2
POL(ORDERED_IN_G(x1)) = 2 + x1
POL(U7_G(x1, x2, x3)) = 2 + 2·x1 + 2·x2 + x3
POL(U9_gg(x1)) = x1
POL(less_in_gg(x1, x2)) = x1 + 2·x2
POL(less_out_gg) = 2
POL(s(x1)) = x1
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ UsableRulesReductionPairsProof
↳ QDP
↳ DependencyGraphProof
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
ORDERED_IN_G(.(X, .(Y, Xs))) → U7_G(Y, Xs, less_in_gg(X, s(Y)))
less_in_gg(s(X), s(Y)) → U9_gg(less_in_gg(X, Y))
U9_gg(less_out_gg) → less_out_gg
less_in_gg(x0, x1)
U9_gg(x0)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PrologToPiTRSProof
APP_IN_AAA(.(X, Xs), Ys, .(X, Zs)) → APP_IN_AAA(Xs, Ys, Zs)
ss_in_ag(Xs, Ys) → U1_ag(Xs, Ys, perm_in_ag(Xs, Ys))
perm_in_ag([], []) → perm_out_ag([], [])
perm_in_ag(Xs, .(X, Ys)) → U3_ag(Xs, X, Ys, app_in_aaa(X1s, .(X, X2s), Xs))
app_in_aaa([], X, X) → app_out_aaa([], X, X)
app_in_aaa(.(X, Xs), Ys, .(X, Zs)) → U6_aaa(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
U6_aaa(X, Xs, Ys, Zs, app_out_aaa(Xs, Ys, Zs)) → app_out_aaa(.(X, Xs), Ys, .(X, Zs))
U3_ag(Xs, X, Ys, app_out_aaa(X1s, .(X, X2s), Xs)) → U4_ag(Xs, X, Ys, app_in_aaa(X1s, X2s, Zs))
U4_ag(Xs, X, Ys, app_out_aaa(X1s, X2s, Zs)) → U5_ag(Xs, X, Ys, perm_in_ag(Zs, Ys))
U5_ag(Xs, X, Ys, perm_out_ag(Zs, Ys)) → perm_out_ag(Xs, .(X, Ys))
U1_ag(Xs, Ys, perm_out_ag(Xs, Ys)) → U2_ag(Xs, Ys, ordered_in_g(Ys))
ordered_in_g([]) → ordered_out_g([])
ordered_in_g(.(X, [])) → ordered_out_g(.(X, []))
ordered_in_g(.(X, .(Y, Xs))) → U7_g(X, Y, Xs, less_in_gg(X, s(Y)))
less_in_gg(0, s(X)) → less_out_gg(0, s(X))
less_in_gg(s(X), s(Y)) → U9_gg(X, Y, less_in_gg(X, Y))
U9_gg(X, Y, less_out_gg(X, Y)) → less_out_gg(s(X), s(Y))
U7_g(X, Y, Xs, less_out_gg(X, s(Y))) → U8_g(X, Y, Xs, ordered_in_g(.(Y, Xs)))
U8_g(X, Y, Xs, ordered_out_g(.(Y, Xs))) → ordered_out_g(.(X, .(Y, Xs)))
U2_ag(Xs, Ys, ordered_out_g(Ys)) → ss_out_ag(Xs, Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PrologToPiTRSProof
APP_IN_AAA(.(X, Xs), Ys, .(X, Zs)) → APP_IN_AAA(Xs, Ys, Zs)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ NonTerminationProof
↳ PiDP
↳ PrologToPiTRSProof
APP_IN_AAA → APP_IN_AAA
APP_IN_AAA → APP_IN_AAA
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PrologToPiTRSProof
U4_AG(Xs, X, Ys, app_out_aaa(X1s, X2s, Zs)) → PERM_IN_AG(Zs, Ys)
PERM_IN_AG(Xs, .(X, Ys)) → U3_AG(Xs, X, Ys, app_in_aaa(X1s, .(X, X2s), Xs))
U3_AG(Xs, X, Ys, app_out_aaa(X1s, .(X, X2s), Xs)) → U4_AG(Xs, X, Ys, app_in_aaa(X1s, X2s, Zs))
ss_in_ag(Xs, Ys) → U1_ag(Xs, Ys, perm_in_ag(Xs, Ys))
perm_in_ag([], []) → perm_out_ag([], [])
perm_in_ag(Xs, .(X, Ys)) → U3_ag(Xs, X, Ys, app_in_aaa(X1s, .(X, X2s), Xs))
app_in_aaa([], X, X) → app_out_aaa([], X, X)
app_in_aaa(.(X, Xs), Ys, .(X, Zs)) → U6_aaa(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
U6_aaa(X, Xs, Ys, Zs, app_out_aaa(Xs, Ys, Zs)) → app_out_aaa(.(X, Xs), Ys, .(X, Zs))
U3_ag(Xs, X, Ys, app_out_aaa(X1s, .(X, X2s), Xs)) → U4_ag(Xs, X, Ys, app_in_aaa(X1s, X2s, Zs))
U4_ag(Xs, X, Ys, app_out_aaa(X1s, X2s, Zs)) → U5_ag(Xs, X, Ys, perm_in_ag(Zs, Ys))
U5_ag(Xs, X, Ys, perm_out_ag(Zs, Ys)) → perm_out_ag(Xs, .(X, Ys))
U1_ag(Xs, Ys, perm_out_ag(Xs, Ys)) → U2_ag(Xs, Ys, ordered_in_g(Ys))
ordered_in_g([]) → ordered_out_g([])
ordered_in_g(.(X, [])) → ordered_out_g(.(X, []))
ordered_in_g(.(X, .(Y, Xs))) → U7_g(X, Y, Xs, less_in_gg(X, s(Y)))
less_in_gg(0, s(X)) → less_out_gg(0, s(X))
less_in_gg(s(X), s(Y)) → U9_gg(X, Y, less_in_gg(X, Y))
U9_gg(X, Y, less_out_gg(X, Y)) → less_out_gg(s(X), s(Y))
U7_g(X, Y, Xs, less_out_gg(X, s(Y))) → U8_g(X, Y, Xs, ordered_in_g(.(Y, Xs)))
U8_g(X, Y, Xs, ordered_out_g(.(Y, Xs))) → ordered_out_g(.(X, .(Y, Xs)))
U2_ag(Xs, Ys, ordered_out_g(Ys)) → ss_out_ag(Xs, Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PrologToPiTRSProof
U4_AG(Xs, X, Ys, app_out_aaa(X1s, X2s, Zs)) → PERM_IN_AG(Zs, Ys)
PERM_IN_AG(Xs, .(X, Ys)) → U3_AG(Xs, X, Ys, app_in_aaa(X1s, .(X, X2s), Xs))
U3_AG(Xs, X, Ys, app_out_aaa(X1s, .(X, X2s), Xs)) → U4_AG(Xs, X, Ys, app_in_aaa(X1s, X2s, Zs))
app_in_aaa([], X, X) → app_out_aaa([], X, X)
app_in_aaa(.(X, Xs), Ys, .(X, Zs)) → U6_aaa(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
U6_aaa(X, Xs, Ys, Zs, app_out_aaa(Xs, Ys, Zs)) → app_out_aaa(.(X, Xs), Ys, .(X, Zs))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PrologToPiTRSProof
PERM_IN_AG(.(X, Ys)) → U3_AG(Ys, app_in_aaa)
U3_AG(Ys, app_out_aaa) → U4_AG(Ys, app_in_aaa)
U4_AG(Ys, app_out_aaa) → PERM_IN_AG(Ys)
app_in_aaa → app_out_aaa
app_in_aaa → U6_aaa(app_in_aaa)
U6_aaa(app_out_aaa) → app_out_aaa
app_in_aaa
U6_aaa(x0)
From the DPs we obtained the following set of size-change graphs:
ss_in_ag(Xs, Ys) → U1_ag(Xs, Ys, perm_in_ag(Xs, Ys))
perm_in_ag([], []) → perm_out_ag([], [])
perm_in_ag(Xs, .(X, Ys)) → U3_ag(Xs, X, Ys, app_in_aaa(X1s, .(X, X2s), Xs))
app_in_aaa([], X, X) → app_out_aaa([], X, X)
app_in_aaa(.(X, Xs), Ys, .(X, Zs)) → U6_aaa(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
U6_aaa(X, Xs, Ys, Zs, app_out_aaa(Xs, Ys, Zs)) → app_out_aaa(.(X, Xs), Ys, .(X, Zs))
U3_ag(Xs, X, Ys, app_out_aaa(X1s, .(X, X2s), Xs)) → U4_ag(Xs, X, Ys, app_in_aaa(X1s, X2s, Zs))
U4_ag(Xs, X, Ys, app_out_aaa(X1s, X2s, Zs)) → U5_ag(Xs, X, Ys, perm_in_ag(Zs, Ys))
U5_ag(Xs, X, Ys, perm_out_ag(Zs, Ys)) → perm_out_ag(Xs, .(X, Ys))
U1_ag(Xs, Ys, perm_out_ag(Xs, Ys)) → U2_ag(Xs, Ys, ordered_in_g(Ys))
ordered_in_g([]) → ordered_out_g([])
ordered_in_g(.(X, [])) → ordered_out_g(.(X, []))
ordered_in_g(.(X, .(Y, Xs))) → U7_g(X, Y, Xs, less_in_gg(X, s(Y)))
less_in_gg(0, s(X)) → less_out_gg(0, s(X))
less_in_gg(s(X), s(Y)) → U9_gg(X, Y, less_in_gg(X, Y))
U9_gg(X, Y, less_out_gg(X, Y)) → less_out_gg(s(X), s(Y))
U7_g(X, Y, Xs, less_out_gg(X, s(Y))) → U8_g(X, Y, Xs, ordered_in_g(.(Y, Xs)))
U8_g(X, Y, Xs, ordered_out_g(.(Y, Xs))) → ordered_out_g(.(X, .(Y, Xs)))
U2_ag(Xs, Ys, ordered_out_g(Ys)) → ss_out_ag(Xs, Ys)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
ss_in_ag(Xs, Ys) → U1_ag(Xs, Ys, perm_in_ag(Xs, Ys))
perm_in_ag([], []) → perm_out_ag([], [])
perm_in_ag(Xs, .(X, Ys)) → U3_ag(Xs, X, Ys, app_in_aaa(X1s, .(X, X2s), Xs))
app_in_aaa([], X, X) → app_out_aaa([], X, X)
app_in_aaa(.(X, Xs), Ys, .(X, Zs)) → U6_aaa(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
U6_aaa(X, Xs, Ys, Zs, app_out_aaa(Xs, Ys, Zs)) → app_out_aaa(.(X, Xs), Ys, .(X, Zs))
U3_ag(Xs, X, Ys, app_out_aaa(X1s, .(X, X2s), Xs)) → U4_ag(Xs, X, Ys, app_in_aaa(X1s, X2s, Zs))
U4_ag(Xs, X, Ys, app_out_aaa(X1s, X2s, Zs)) → U5_ag(Xs, X, Ys, perm_in_ag(Zs, Ys))
U5_ag(Xs, X, Ys, perm_out_ag(Zs, Ys)) → perm_out_ag(Xs, .(X, Ys))
U1_ag(Xs, Ys, perm_out_ag(Xs, Ys)) → U2_ag(Xs, Ys, ordered_in_g(Ys))
ordered_in_g([]) → ordered_out_g([])
ordered_in_g(.(X, [])) → ordered_out_g(.(X, []))
ordered_in_g(.(X, .(Y, Xs))) → U7_g(X, Y, Xs, less_in_gg(X, s(Y)))
less_in_gg(0, s(X)) → less_out_gg(0, s(X))
less_in_gg(s(X), s(Y)) → U9_gg(X, Y, less_in_gg(X, Y))
U9_gg(X, Y, less_out_gg(X, Y)) → less_out_gg(s(X), s(Y))
U7_g(X, Y, Xs, less_out_gg(X, s(Y))) → U8_g(X, Y, Xs, ordered_in_g(.(Y, Xs)))
U8_g(X, Y, Xs, ordered_out_g(.(Y, Xs))) → ordered_out_g(.(X, .(Y, Xs)))
U2_ag(Xs, Ys, ordered_out_g(Ys)) → ss_out_ag(Xs, Ys)
SS_IN_AG(Xs, Ys) → U1_AG(Xs, Ys, perm_in_ag(Xs, Ys))
SS_IN_AG(Xs, Ys) → PERM_IN_AG(Xs, Ys)
PERM_IN_AG(Xs, .(X, Ys)) → U3_AG(Xs, X, Ys, app_in_aaa(X1s, .(X, X2s), Xs))
PERM_IN_AG(Xs, .(X, Ys)) → APP_IN_AAA(X1s, .(X, X2s), Xs)
APP_IN_AAA(.(X, Xs), Ys, .(X, Zs)) → U6_AAA(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
APP_IN_AAA(.(X, Xs), Ys, .(X, Zs)) → APP_IN_AAA(Xs, Ys, Zs)
U3_AG(Xs, X, Ys, app_out_aaa(X1s, .(X, X2s), Xs)) → U4_AG(Xs, X, Ys, app_in_aaa(X1s, X2s, Zs))
U3_AG(Xs, X, Ys, app_out_aaa(X1s, .(X, X2s), Xs)) → APP_IN_AAA(X1s, X2s, Zs)
U4_AG(Xs, X, Ys, app_out_aaa(X1s, X2s, Zs)) → U5_AG(Xs, X, Ys, perm_in_ag(Zs, Ys))
U4_AG(Xs, X, Ys, app_out_aaa(X1s, X2s, Zs)) → PERM_IN_AG(Zs, Ys)
U1_AG(Xs, Ys, perm_out_ag(Xs, Ys)) → U2_AG(Xs, Ys, ordered_in_g(Ys))
U1_AG(Xs, Ys, perm_out_ag(Xs, Ys)) → ORDERED_IN_G(Ys)
ORDERED_IN_G(.(X, .(Y, Xs))) → U7_G(X, Y, Xs, less_in_gg(X, s(Y)))
ORDERED_IN_G(.(X, .(Y, Xs))) → LESS_IN_GG(X, s(Y))
LESS_IN_GG(s(X), s(Y)) → U9_GG(X, Y, less_in_gg(X, Y))
LESS_IN_GG(s(X), s(Y)) → LESS_IN_GG(X, Y)
U7_G(X, Y, Xs, less_out_gg(X, s(Y))) → U8_G(X, Y, Xs, ordered_in_g(.(Y, Xs)))
U7_G(X, Y, Xs, less_out_gg(X, s(Y))) → ORDERED_IN_G(.(Y, Xs))
ss_in_ag(Xs, Ys) → U1_ag(Xs, Ys, perm_in_ag(Xs, Ys))
perm_in_ag([], []) → perm_out_ag([], [])
perm_in_ag(Xs, .(X, Ys)) → U3_ag(Xs, X, Ys, app_in_aaa(X1s, .(X, X2s), Xs))
app_in_aaa([], X, X) → app_out_aaa([], X, X)
app_in_aaa(.(X, Xs), Ys, .(X, Zs)) → U6_aaa(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
U6_aaa(X, Xs, Ys, Zs, app_out_aaa(Xs, Ys, Zs)) → app_out_aaa(.(X, Xs), Ys, .(X, Zs))
U3_ag(Xs, X, Ys, app_out_aaa(X1s, .(X, X2s), Xs)) → U4_ag(Xs, X, Ys, app_in_aaa(X1s, X2s, Zs))
U4_ag(Xs, X, Ys, app_out_aaa(X1s, X2s, Zs)) → U5_ag(Xs, X, Ys, perm_in_ag(Zs, Ys))
U5_ag(Xs, X, Ys, perm_out_ag(Zs, Ys)) → perm_out_ag(Xs, .(X, Ys))
U1_ag(Xs, Ys, perm_out_ag(Xs, Ys)) → U2_ag(Xs, Ys, ordered_in_g(Ys))
ordered_in_g([]) → ordered_out_g([])
ordered_in_g(.(X, [])) → ordered_out_g(.(X, []))
ordered_in_g(.(X, .(Y, Xs))) → U7_g(X, Y, Xs, less_in_gg(X, s(Y)))
less_in_gg(0, s(X)) → less_out_gg(0, s(X))
less_in_gg(s(X), s(Y)) → U9_gg(X, Y, less_in_gg(X, Y))
U9_gg(X, Y, less_out_gg(X, Y)) → less_out_gg(s(X), s(Y))
U7_g(X, Y, Xs, less_out_gg(X, s(Y))) → U8_g(X, Y, Xs, ordered_in_g(.(Y, Xs)))
U8_g(X, Y, Xs, ordered_out_g(.(Y, Xs))) → ordered_out_g(.(X, .(Y, Xs)))
U2_ag(Xs, Ys, ordered_out_g(Ys)) → ss_out_ag(Xs, Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
SS_IN_AG(Xs, Ys) → U1_AG(Xs, Ys, perm_in_ag(Xs, Ys))
SS_IN_AG(Xs, Ys) → PERM_IN_AG(Xs, Ys)
PERM_IN_AG(Xs, .(X, Ys)) → U3_AG(Xs, X, Ys, app_in_aaa(X1s, .(X, X2s), Xs))
PERM_IN_AG(Xs, .(X, Ys)) → APP_IN_AAA(X1s, .(X, X2s), Xs)
APP_IN_AAA(.(X, Xs), Ys, .(X, Zs)) → U6_AAA(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
APP_IN_AAA(.(X, Xs), Ys, .(X, Zs)) → APP_IN_AAA(Xs, Ys, Zs)
U3_AG(Xs, X, Ys, app_out_aaa(X1s, .(X, X2s), Xs)) → U4_AG(Xs, X, Ys, app_in_aaa(X1s, X2s, Zs))
U3_AG(Xs, X, Ys, app_out_aaa(X1s, .(X, X2s), Xs)) → APP_IN_AAA(X1s, X2s, Zs)
U4_AG(Xs, X, Ys, app_out_aaa(X1s, X2s, Zs)) → U5_AG(Xs, X, Ys, perm_in_ag(Zs, Ys))
U4_AG(Xs, X, Ys, app_out_aaa(X1s, X2s, Zs)) → PERM_IN_AG(Zs, Ys)
U1_AG(Xs, Ys, perm_out_ag(Xs, Ys)) → U2_AG(Xs, Ys, ordered_in_g(Ys))
U1_AG(Xs, Ys, perm_out_ag(Xs, Ys)) → ORDERED_IN_G(Ys)
ORDERED_IN_G(.(X, .(Y, Xs))) → U7_G(X, Y, Xs, less_in_gg(X, s(Y)))
ORDERED_IN_G(.(X, .(Y, Xs))) → LESS_IN_GG(X, s(Y))
LESS_IN_GG(s(X), s(Y)) → U9_GG(X, Y, less_in_gg(X, Y))
LESS_IN_GG(s(X), s(Y)) → LESS_IN_GG(X, Y)
U7_G(X, Y, Xs, less_out_gg(X, s(Y))) → U8_G(X, Y, Xs, ordered_in_g(.(Y, Xs)))
U7_G(X, Y, Xs, less_out_gg(X, s(Y))) → ORDERED_IN_G(.(Y, Xs))
ss_in_ag(Xs, Ys) → U1_ag(Xs, Ys, perm_in_ag(Xs, Ys))
perm_in_ag([], []) → perm_out_ag([], [])
perm_in_ag(Xs, .(X, Ys)) → U3_ag(Xs, X, Ys, app_in_aaa(X1s, .(X, X2s), Xs))
app_in_aaa([], X, X) → app_out_aaa([], X, X)
app_in_aaa(.(X, Xs), Ys, .(X, Zs)) → U6_aaa(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
U6_aaa(X, Xs, Ys, Zs, app_out_aaa(Xs, Ys, Zs)) → app_out_aaa(.(X, Xs), Ys, .(X, Zs))
U3_ag(Xs, X, Ys, app_out_aaa(X1s, .(X, X2s), Xs)) → U4_ag(Xs, X, Ys, app_in_aaa(X1s, X2s, Zs))
U4_ag(Xs, X, Ys, app_out_aaa(X1s, X2s, Zs)) → U5_ag(Xs, X, Ys, perm_in_ag(Zs, Ys))
U5_ag(Xs, X, Ys, perm_out_ag(Zs, Ys)) → perm_out_ag(Xs, .(X, Ys))
U1_ag(Xs, Ys, perm_out_ag(Xs, Ys)) → U2_ag(Xs, Ys, ordered_in_g(Ys))
ordered_in_g([]) → ordered_out_g([])
ordered_in_g(.(X, [])) → ordered_out_g(.(X, []))
ordered_in_g(.(X, .(Y, Xs))) → U7_g(X, Y, Xs, less_in_gg(X, s(Y)))
less_in_gg(0, s(X)) → less_out_gg(0, s(X))
less_in_gg(s(X), s(Y)) → U9_gg(X, Y, less_in_gg(X, Y))
U9_gg(X, Y, less_out_gg(X, Y)) → less_out_gg(s(X), s(Y))
U7_g(X, Y, Xs, less_out_gg(X, s(Y))) → U8_g(X, Y, Xs, ordered_in_g(.(Y, Xs)))
U8_g(X, Y, Xs, ordered_out_g(.(Y, Xs))) → ordered_out_g(.(X, .(Y, Xs)))
U2_ag(Xs, Ys, ordered_out_g(Ys)) → ss_out_ag(Xs, Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
↳ PiDP
LESS_IN_GG(s(X), s(Y)) → LESS_IN_GG(X, Y)
ss_in_ag(Xs, Ys) → U1_ag(Xs, Ys, perm_in_ag(Xs, Ys))
perm_in_ag([], []) → perm_out_ag([], [])
perm_in_ag(Xs, .(X, Ys)) → U3_ag(Xs, X, Ys, app_in_aaa(X1s, .(X, X2s), Xs))
app_in_aaa([], X, X) → app_out_aaa([], X, X)
app_in_aaa(.(X, Xs), Ys, .(X, Zs)) → U6_aaa(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
U6_aaa(X, Xs, Ys, Zs, app_out_aaa(Xs, Ys, Zs)) → app_out_aaa(.(X, Xs), Ys, .(X, Zs))
U3_ag(Xs, X, Ys, app_out_aaa(X1s, .(X, X2s), Xs)) → U4_ag(Xs, X, Ys, app_in_aaa(X1s, X2s, Zs))
U4_ag(Xs, X, Ys, app_out_aaa(X1s, X2s, Zs)) → U5_ag(Xs, X, Ys, perm_in_ag(Zs, Ys))
U5_ag(Xs, X, Ys, perm_out_ag(Zs, Ys)) → perm_out_ag(Xs, .(X, Ys))
U1_ag(Xs, Ys, perm_out_ag(Xs, Ys)) → U2_ag(Xs, Ys, ordered_in_g(Ys))
ordered_in_g([]) → ordered_out_g([])
ordered_in_g(.(X, [])) → ordered_out_g(.(X, []))
ordered_in_g(.(X, .(Y, Xs))) → U7_g(X, Y, Xs, less_in_gg(X, s(Y)))
less_in_gg(0, s(X)) → less_out_gg(0, s(X))
less_in_gg(s(X), s(Y)) → U9_gg(X, Y, less_in_gg(X, Y))
U9_gg(X, Y, less_out_gg(X, Y)) → less_out_gg(s(X), s(Y))
U7_g(X, Y, Xs, less_out_gg(X, s(Y))) → U8_g(X, Y, Xs, ordered_in_g(.(Y, Xs)))
U8_g(X, Y, Xs, ordered_out_g(.(Y, Xs))) → ordered_out_g(.(X, .(Y, Xs)))
U2_ag(Xs, Ys, ordered_out_g(Ys)) → ss_out_ag(Xs, Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
↳ PiDP
LESS_IN_GG(s(X), s(Y)) → LESS_IN_GG(X, Y)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PiDP
↳ PiDP
LESS_IN_GG(s(X), s(Y)) → LESS_IN_GG(X, Y)
From the DPs we obtained the following set of size-change graphs:
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
ORDERED_IN_G(.(X, .(Y, Xs))) → U7_G(X, Y, Xs, less_in_gg(X, s(Y)))
U7_G(X, Y, Xs, less_out_gg(X, s(Y))) → ORDERED_IN_G(.(Y, Xs))
ss_in_ag(Xs, Ys) → U1_ag(Xs, Ys, perm_in_ag(Xs, Ys))
perm_in_ag([], []) → perm_out_ag([], [])
perm_in_ag(Xs, .(X, Ys)) → U3_ag(Xs, X, Ys, app_in_aaa(X1s, .(X, X2s), Xs))
app_in_aaa([], X, X) → app_out_aaa([], X, X)
app_in_aaa(.(X, Xs), Ys, .(X, Zs)) → U6_aaa(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
U6_aaa(X, Xs, Ys, Zs, app_out_aaa(Xs, Ys, Zs)) → app_out_aaa(.(X, Xs), Ys, .(X, Zs))
U3_ag(Xs, X, Ys, app_out_aaa(X1s, .(X, X2s), Xs)) → U4_ag(Xs, X, Ys, app_in_aaa(X1s, X2s, Zs))
U4_ag(Xs, X, Ys, app_out_aaa(X1s, X2s, Zs)) → U5_ag(Xs, X, Ys, perm_in_ag(Zs, Ys))
U5_ag(Xs, X, Ys, perm_out_ag(Zs, Ys)) → perm_out_ag(Xs, .(X, Ys))
U1_ag(Xs, Ys, perm_out_ag(Xs, Ys)) → U2_ag(Xs, Ys, ordered_in_g(Ys))
ordered_in_g([]) → ordered_out_g([])
ordered_in_g(.(X, [])) → ordered_out_g(.(X, []))
ordered_in_g(.(X, .(Y, Xs))) → U7_g(X, Y, Xs, less_in_gg(X, s(Y)))
less_in_gg(0, s(X)) → less_out_gg(0, s(X))
less_in_gg(s(X), s(Y)) → U9_gg(X, Y, less_in_gg(X, Y))
U9_gg(X, Y, less_out_gg(X, Y)) → less_out_gg(s(X), s(Y))
U7_g(X, Y, Xs, less_out_gg(X, s(Y))) → U8_g(X, Y, Xs, ordered_in_g(.(Y, Xs)))
U8_g(X, Y, Xs, ordered_out_g(.(Y, Xs))) → ordered_out_g(.(X, .(Y, Xs)))
U2_ag(Xs, Ys, ordered_out_g(Ys)) → ss_out_ag(Xs, Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
ORDERED_IN_G(.(X, .(Y, Xs))) → U7_G(X, Y, Xs, less_in_gg(X, s(Y)))
U7_G(X, Y, Xs, less_out_gg(X, s(Y))) → ORDERED_IN_G(.(Y, Xs))
less_in_gg(0, s(X)) → less_out_gg(0, s(X))
less_in_gg(s(X), s(Y)) → U9_gg(X, Y, less_in_gg(X, Y))
U9_gg(X, Y, less_out_gg(X, Y)) → less_out_gg(s(X), s(Y))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ RuleRemovalProof
↳ PiDP
↳ PiDP
ORDERED_IN_G(.(X, .(Y, Xs))) → U7_G(X, Y, Xs, less_in_gg(X, s(Y)))
U7_G(X, Y, Xs, less_out_gg(X, s(Y))) → ORDERED_IN_G(.(Y, Xs))
less_in_gg(0, s(X)) → less_out_gg(0, s(X))
less_in_gg(s(X), s(Y)) → U9_gg(X, Y, less_in_gg(X, Y))
U9_gg(X, Y, less_out_gg(X, Y)) → less_out_gg(s(X), s(Y))
less_in_gg(x0, x1)
U9_gg(x0, x1, x2)
U7_G(X, Y, Xs, less_out_gg(X, s(Y))) → ORDERED_IN_G(.(Y, Xs))
less_in_gg(0, s(X)) → less_out_gg(0, s(X))
POL(.(x1, x2)) = 2·x1 + x2
POL(0) = 2
POL(ORDERED_IN_G(x1)) = 2·x1
POL(U7_G(x1, x2, x3, x4)) = x1 + 2·x2 + 2·x3 + x4
POL(U9_gg(x1, x2, x3)) = x1 + x2 + x3
POL(less_in_gg(x1, x2)) = 2·x1 + x2
POL(less_out_gg(x1, x2)) = 1 + x1 + x2
POL(s(x1)) = 2·x1
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ PiDP
↳ PiDP
ORDERED_IN_G(.(X, .(Y, Xs))) → U7_G(X, Y, Xs, less_in_gg(X, s(Y)))
less_in_gg(s(X), s(Y)) → U9_gg(X, Y, less_in_gg(X, Y))
U9_gg(X, Y, less_out_gg(X, Y)) → less_out_gg(s(X), s(Y))
less_in_gg(x0, x1)
U9_gg(x0, x1, x2)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
APP_IN_AAA(.(X, Xs), Ys, .(X, Zs)) → APP_IN_AAA(Xs, Ys, Zs)
ss_in_ag(Xs, Ys) → U1_ag(Xs, Ys, perm_in_ag(Xs, Ys))
perm_in_ag([], []) → perm_out_ag([], [])
perm_in_ag(Xs, .(X, Ys)) → U3_ag(Xs, X, Ys, app_in_aaa(X1s, .(X, X2s), Xs))
app_in_aaa([], X, X) → app_out_aaa([], X, X)
app_in_aaa(.(X, Xs), Ys, .(X, Zs)) → U6_aaa(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
U6_aaa(X, Xs, Ys, Zs, app_out_aaa(Xs, Ys, Zs)) → app_out_aaa(.(X, Xs), Ys, .(X, Zs))
U3_ag(Xs, X, Ys, app_out_aaa(X1s, .(X, X2s), Xs)) → U4_ag(Xs, X, Ys, app_in_aaa(X1s, X2s, Zs))
U4_ag(Xs, X, Ys, app_out_aaa(X1s, X2s, Zs)) → U5_ag(Xs, X, Ys, perm_in_ag(Zs, Ys))
U5_ag(Xs, X, Ys, perm_out_ag(Zs, Ys)) → perm_out_ag(Xs, .(X, Ys))
U1_ag(Xs, Ys, perm_out_ag(Xs, Ys)) → U2_ag(Xs, Ys, ordered_in_g(Ys))
ordered_in_g([]) → ordered_out_g([])
ordered_in_g(.(X, [])) → ordered_out_g(.(X, []))
ordered_in_g(.(X, .(Y, Xs))) → U7_g(X, Y, Xs, less_in_gg(X, s(Y)))
less_in_gg(0, s(X)) → less_out_gg(0, s(X))
less_in_gg(s(X), s(Y)) → U9_gg(X, Y, less_in_gg(X, Y))
U9_gg(X, Y, less_out_gg(X, Y)) → less_out_gg(s(X), s(Y))
U7_g(X, Y, Xs, less_out_gg(X, s(Y))) → U8_g(X, Y, Xs, ordered_in_g(.(Y, Xs)))
U8_g(X, Y, Xs, ordered_out_g(.(Y, Xs))) → ordered_out_g(.(X, .(Y, Xs)))
U2_ag(Xs, Ys, ordered_out_g(Ys)) → ss_out_ag(Xs, Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
APP_IN_AAA(.(X, Xs), Ys, .(X, Zs)) → APP_IN_AAA(Xs, Ys, Zs)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ NonTerminationProof
↳ PiDP
APP_IN_AAA → APP_IN_AAA
APP_IN_AAA → APP_IN_AAA
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
U4_AG(Xs, X, Ys, app_out_aaa(X1s, X2s, Zs)) → PERM_IN_AG(Zs, Ys)
PERM_IN_AG(Xs, .(X, Ys)) → U3_AG(Xs, X, Ys, app_in_aaa(X1s, .(X, X2s), Xs))
U3_AG(Xs, X, Ys, app_out_aaa(X1s, .(X, X2s), Xs)) → U4_AG(Xs, X, Ys, app_in_aaa(X1s, X2s, Zs))
ss_in_ag(Xs, Ys) → U1_ag(Xs, Ys, perm_in_ag(Xs, Ys))
perm_in_ag([], []) → perm_out_ag([], [])
perm_in_ag(Xs, .(X, Ys)) → U3_ag(Xs, X, Ys, app_in_aaa(X1s, .(X, X2s), Xs))
app_in_aaa([], X, X) → app_out_aaa([], X, X)
app_in_aaa(.(X, Xs), Ys, .(X, Zs)) → U6_aaa(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
U6_aaa(X, Xs, Ys, Zs, app_out_aaa(Xs, Ys, Zs)) → app_out_aaa(.(X, Xs), Ys, .(X, Zs))
U3_ag(Xs, X, Ys, app_out_aaa(X1s, .(X, X2s), Xs)) → U4_ag(Xs, X, Ys, app_in_aaa(X1s, X2s, Zs))
U4_ag(Xs, X, Ys, app_out_aaa(X1s, X2s, Zs)) → U5_ag(Xs, X, Ys, perm_in_ag(Zs, Ys))
U5_ag(Xs, X, Ys, perm_out_ag(Zs, Ys)) → perm_out_ag(Xs, .(X, Ys))
U1_ag(Xs, Ys, perm_out_ag(Xs, Ys)) → U2_ag(Xs, Ys, ordered_in_g(Ys))
ordered_in_g([]) → ordered_out_g([])
ordered_in_g(.(X, [])) → ordered_out_g(.(X, []))
ordered_in_g(.(X, .(Y, Xs))) → U7_g(X, Y, Xs, less_in_gg(X, s(Y)))
less_in_gg(0, s(X)) → less_out_gg(0, s(X))
less_in_gg(s(X), s(Y)) → U9_gg(X, Y, less_in_gg(X, Y))
U9_gg(X, Y, less_out_gg(X, Y)) → less_out_gg(s(X), s(Y))
U7_g(X, Y, Xs, less_out_gg(X, s(Y))) → U8_g(X, Y, Xs, ordered_in_g(.(Y, Xs)))
U8_g(X, Y, Xs, ordered_out_g(.(Y, Xs))) → ordered_out_g(.(X, .(Y, Xs)))
U2_ag(Xs, Ys, ordered_out_g(Ys)) → ss_out_ag(Xs, Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
U4_AG(Xs, X, Ys, app_out_aaa(X1s, X2s, Zs)) → PERM_IN_AG(Zs, Ys)
PERM_IN_AG(Xs, .(X, Ys)) → U3_AG(Xs, X, Ys, app_in_aaa(X1s, .(X, X2s), Xs))
U3_AG(Xs, X, Ys, app_out_aaa(X1s, .(X, X2s), Xs)) → U4_AG(Xs, X, Ys, app_in_aaa(X1s, X2s, Zs))
app_in_aaa([], X, X) → app_out_aaa([], X, X)
app_in_aaa(.(X, Xs), Ys, .(X, Zs)) → U6_aaa(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
U6_aaa(X, Xs, Ys, Zs, app_out_aaa(Xs, Ys, Zs)) → app_out_aaa(.(X, Xs), Ys, .(X, Zs))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
U4_AG(X, Ys, app_out_aaa) → PERM_IN_AG(Ys)
PERM_IN_AG(.(X, Ys)) → U3_AG(X, Ys, app_in_aaa)
U3_AG(X, Ys, app_out_aaa) → U4_AG(X, Ys, app_in_aaa)
app_in_aaa → app_out_aaa
app_in_aaa → U6_aaa(app_in_aaa)
U6_aaa(app_out_aaa) → app_out_aaa
app_in_aaa
U6_aaa(x0)
From the DPs we obtained the following set of size-change graphs: